DeliciousBrains\WPMDB\Common\Util\Util D

Total Complexity 205
Dependencies 9
Dependents 32
Total lines 1,199
Lines of code 632
Logical lines of code 370
Comment lines 294
Methods 66
Properties 4

Methods 66

Method Rating Maintainability Complexity Lines of code
unparse_url()
A
58 11 12
parse_url()
A
51 9 26
uploads_info()
A
52 9 25
get_bottleneck()
S
52 7 24
get_max_upload_size()
S
53 7 23
is_ajax()
S
60 7 12
deactivate_other_instances()
S
52 6 24
is_json()
S
58 6 16
unserialize()
S
59 6 13
subsites_info()
S
52 5 23
subsites_list()
S
56 5 18
get_plugin_details()
S
57 5 16
site_details()
S
54 4 19
get_absolute_root_file_path()
S
57 4 16
isMDBPage()
S
59 4 16
is_wpmdb_ajax_call()
S
68 5 6
profile_value()
S
65 5 9
is_muplugin_writable()
S
63 4 11
has_method_been_called()
S
63 4 11
get_memory_limit()
S
62 4 11
nocache_headers()
S
65 4 9
set_time_limit_available()
S
63 4 10
rest_url()
S
68 4 6
mask_licence()
S
59 3 14
is_muplugin_installed()
S
63 3 11
validate_json()
S
64 3 10
diverse_array()
S
66 3 9
referer_from_url()
S
63 3 10
scheme_less_url()
S
63 3 10
is_wp_compatible()
S
67 3 7
is_plugin_active_for_network()
S
64 3 10
filter_nonce_filters()
S
65 2 9
get_plugin_folder()
S
71 2 6
is_plugin_active()
S
77 2 3
get_path_current_site()
S
69 2 7
get_path_from_url()
S
74 2 4
str_replace_first()
S
68 2 7
formatBytes()
S
64 2 8
open_ssl_enabled()
S
70 2 7
generate_key()
S
65 2 8
ajax_url()
S
64 2 10
preempt_expect_header()
S
70 2 6
safe_wp_unslash()
S
69 2 7
isPro()
S
79 2 3
get_caller_function()
S
65 2 9
settings_page_link()
S
65 2 9
display_errors()
S
64 2 10
gzdecode()
S
69 2 6
json_encode_trim()
S
78 1 3
throw_ajax_error()
S
76 1 4
get_state_data()
S
80 1 3
uuidv4()
S
65 1 9
__construct()
S
77 1 4
get_short_home_address_from_url()
S
78 1 3
gzip()
S
80 1 3
remove_wp_plugin_dir()
S
75 1 4
print_plugin_details()
S
79 1 3
get_short_uploads_dir()
S
73 1 4
simple_site_url()
S
76 1 4
slash_one_direction()
S
78 1 3
set_time_limit()
S
81 1 3
check_ajax_referer()
S
67 1 8
create_nonce()
S
67 1 8
make_wpmdb_wpdb_instance()
S
80 1 3
get_post_max_size()
S
74 1 4
is_regex_pattern_valid()
S
78 1 3